package com.ruibang.glass.material.controller;

import com.ruibang.glass.material.domain.req.ycl.ManageOutBoundReq;
import com.ruibang.glass.material.service.GMaterialAllOutboundManagementService;
import com.teaming.cloud.framework2.common.model.ResultBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 公共方法
 * </p>
 *
 * @author mameng
 * @since 2024-02-05
 */
@RestController
@RequestMapping("/api/material/public")
@Api(value="公共方法",tags={"公共方法"})
public class MaterialPublicController {
    @Autowired
    private GMaterialAllOutboundManagementService materialOutboundManagementService;

    @GetMapping("/getUserList")
    @ApiOperation(value = "获取用户信息", response = ResultBody.class)
    public ResultBody getUserList() {
        return ResultBody.success(materialOutboundManagementService.getUserInfoList());
    }
}
